Integrand size = 26, antiderivative size = 34 \[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=\frac {2 a c^2 \cos ^3(e+f x)}{3 f (c-c \sin (e+f x))^{3/2}} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {2815, 2752} \[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=\frac {2 a c^2 \cos ^3(e+f x)}{3 f (c-c \sin (e+f x))^{3/2}} \]
[In]
[Out]
Rule 2752
Rule 2815
Rubi steps \begin{align*} \text {integral}& = (a c) \int \frac {\cos ^2(e+f x)}{\sqrt {c-c \sin (e+f x)}} \, dx \\ & = \frac {2 a c^2 \cos ^3(e+f x)}{3 f (c-c \sin (e+f x))^{3/2}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(71\) vs. \(2(34)=68\).
Time = 0.10 (sec) , antiderivative size = 71, normalized size of antiderivative = 2.09 \[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=\frac {2 a \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^3 \sqrt {c-c \sin (e+f x)}}{3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )} \]
[In]
[Out]
Time = 1.30 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.38
method | result | size |
default | \(-\frac {2 \left (\sin \left (f x +e \right )-1\right ) c \left (\sin \left (f x +e \right )+1\right )^{2} a}{3 \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f}\) | \(47\) |
parts | \(-\frac {2 a \left (\sin \left (f x +e \right )-1\right ) \left (\sin \left (f x +e \right )+1\right ) c}{\cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f}-\frac {2 a \left (\sin \left (f x +e \right )-1\right ) c \left (\sin \left (f x +e \right )+1\right ) \left (\sin \left (f x +e \right )-2\right )}{3 \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f}\) | \(98\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 79 vs. \(2 (30) = 60\).
Time = 0.26 (sec) , antiderivative size = 79, normalized size of antiderivative = 2.32 \[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=-\frac {2 \, {\left (a \cos \left (f x + e\right )^{2} - a \cos \left (f x + e\right ) - {\left (a \cos \left (f x + e\right ) + 2 \, a\right )} \sin \left (f x + e\right ) - 2 \, a\right )} \sqrt {-c \sin \left (f x + e\right ) + c}}{3 \, {\left (f \cos \left (f x + e\right ) - f \sin \left (f x + e\right ) + f\right )}} \]
[In]
[Out]
\[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=a \left (\int \sqrt {- c \sin {\left (e + f x \right )} + c} \sin {\left (e + f x \right )}\, dx + \int \sqrt {- c \sin {\left (e + f x \right )} + c}\, dx\right ) \]
[In]
[Out]
\[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=\int { {\left (a \sin \left (f x + e\right ) + a\right )} \sqrt {-c \sin \left (f x + e\right ) + c} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 67 vs. \(2 (30) = 60\).
Time = 0.35 (sec) , antiderivative size = 67, normalized size of antiderivative = 1.97 \[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=-\frac {\sqrt {2} {\left (3 \, a \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + a \cos \left (-\frac {3}{4} \, \pi + \frac {3}{2} \, f x + \frac {3}{2} \, e\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {c}}{3 \, f} \]
[In]
[Out]
Timed out. \[ \int (a+a \sin (e+f x)) \sqrt {c-c \sin (e+f x)} \, dx=\int \left (a+a\,\sin \left (e+f\,x\right )\right )\,\sqrt {c-c\,\sin \left (e+f\,x\right )} \,d x \]
[In]
[Out]